package main

import (
	"github.com/NicoNex/echotron/v3"
)

const token = "7144172879:AAGsF59yfQwKroqP3rN8tidoCGvcSDiErds"

func main() {
	api := echotron.NewAPI(token)

	for u := range echotron.PollingUpdates(token) {
		if u.Message.Text == "/start" {
			api.SendMessage("Hello world", u.ChatID(), nil)
		}
	}
}
